package com.hzdesk.media.matvector.koreabatch.client.my_paperless.custom_view;

import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Paint;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.View;

import com.hzdesk.media.matvector.koreabatch.client.my_paperless.R;

/**
 * Created by Administrator on 2018/8/9.
 * 杭州席媒科技有限公司  Developers  刘传华  10
 * 佛祖镇楼 bug辟易
 */

public class MyProgress extends View {
    private Paint mPaint;
    public MyProgress(Context context) {
        this(context,null);
    }

    public MyProgress(Context context, @Nullable AttributeSet attrs) {
        this(context, attrs,0);
    }

    public MyProgress(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        TypedArray array=context.obtainStyledAttributes(attrs, R.styleable.my_progress_view);
        array.recycle();
        init();
    }

    private void init() {
        mPaint = new Paint();
        mPaint.setAntiAlias(true);
    }
}
